package com.mew.common.entity.mail;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统邮件就记录
 * </p>
 *
 * @author Dylin
 * @since 2021-09-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("r_sys_mail_record")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SysMailRecord implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 信息
     */
    private String info;

    /**
     * 金币
     */
    private Long goldNumber;

    /**
     * 砖石
     */
    private Long jewelNumber;

    /**
     * 状态
     */
    private Integer status;

    private String addUser;

    private Date addDate;

    private String updateUser;

    private Date updateDate;
}
